public NPromise<NUndefined> SaveToFileAsync( TDocument document, NFile file, TSaveSettings saveSettings, NProgress progress )
Parameters
- document
- document to save. Cannot be null.
- file
- file to save document to. Cannot be null.
- saveSettings
- save settings. Can be null
- progress
- optional progress class
Return Value
a promise which resolves to true if document was saved to file, or false if saving was canceled by the user